package com.sugar.follow.up.module.business.dal.dataobject.publicityeducation;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.sugar.follow.up.framework.mybatis.core.dataobject.BaseDO;

/**
 * 宣教 DO
 *
 * @author Ysugar
 */
@TableName("business_publicity_education")
@KeySequence("business_publicity_education_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PublicityEducationDO extends BaseDO {

    /**
     * 宣教ID
     */
    @TableId
    private Long id;
    /**
     * 标题
     */
    private String title;
    /**
     * 封面图
     */
    private String coverImage;
    /**
     * 所属分类ID
     */
    private Long clsId;
    /**
     * 内容详情
     */
    private String content;
    /**
     * 作者名
     */
    private String authorName;
    /**
     * 作者头像
     */
    private String authorAvatar;
    /**
     * 浏览量
     */
    private Long lookCount;
}
